﻿
<template>
  <div id="app">
    <!-- <Footer></Footer> -->
    <Headers></Headers>
    <!-- <router-view/> -->
    <Footers></Footers>
  </div>
</template>

<script>
// import Header from "@/components/header.vue"
// import Footer from '@/components/footer'
import Headers from '@/components/headers'
import Footers from '@/components/footers'


export default {
  name:'app',
  components:{
    // Footer
    Headers,
    Footers
  },
  methods:{
    linkTo(){
      //第二种跳转方式 push
      this.$router.push('/book')
    }
  }
}
</script>
<style>

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  /* 浏览器 字体抗锯齿 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}

.header-main{
    position: fixed;
    top: 0;
    width: 100%;
  }

</style>
